#ifndef TESTING_H
#define TESTING_H

#include "paging.h"
//#include "types.h"
//#include "exceptions.h"
#include "context.h"
#include "prot.h"
//#include "temp.h"



struct tester_data {
  struct test_header h;
  struct test_command *commands;
  struct test_page *pages;
  char *result;
  char *results;
  struct cpu_context linux_context;
  struct cpu_context test_context;
  //struct temp tmp;
  int cmd_ind;
  int interrupt_row;
  u64 interrupt_info;
};


extern struct tester_data TESTER;
extern u64 debug;

void test_context(void);
void linux_context(void);

void print_test (void);
int run_test(void);

enum {RT_OK, RT_ERROR, RT_END};


#endif /* TESTING_H */